/**
 * Title:        Utility Class Library<p>
 * Description:  Some useful utility classes.<p>
 * Copyright:    Copyright (c) Deutsche Bank<p>
 * Company:      Deutsche Bank<p>
 * @author       Jack Erickson
 * @version      $Revision: 1.1.1.2 $
 *
 * $Log: SLTimeRenderer.java,v $
 * Revision 1.1.1.2  2006/01/24 17:02:00  shivrah
 * no message
 *
 * Revision 1.1.1.1  2003/03/21 15:36:42  jaericks
 * General utilities for StockLoan systems.
 *
 * 
 * 1     5/04/01 4:16p Jaericks
 * Some new renderers.
 *
 */
package com.timber.util;


import java.awt.*;
import javax.swing.*;
import pv.jfcx.*;
import java.text.*;


public class SLTimeRenderer extends DefaultSLObjectRenderer
{
  public SLTimeRenderer()
  {
    super( JPVTable.TEXT );
    SimpleDateFormat sdf = new SimpleDateFormat( "HH:mm:ss", java.util.Locale.ENGLISH );

    m_format = sdf;

    setHorizontalAlignment( SwingConstants.CENTER );
  }

  public SLTimeRenderer( int alignment )
  {
    this();
    setHorizontalAlignment( alignment );
  }
}
